package com.wz.project.system.jpaTest.controller;


import com.wz.project.monitor.job.domain.JobLog;
import com.wz.project.monitor.job.service.IJobLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zn kai
 * @create 2021-08-17 8:54
 */
@Component("jpa")
public class TestController {

    @Autowired
    private IJobLogService jobLogService;
    public List<JobLog> jobLog() {
        JobLog jobLog =new JobLog();
        List<JobLog> list = jobLogService.selectJobLogList(jobLog);
        return list;
    }
}
